package com.socket;

import java.io.IOException;
import java.net.Socket;

//客户端
public class Client_Socket {
    private Socket socket;

    public Client_Socket() {
        try {
            System.out.println("客户端启动");
            socket = new Socket("localhost", 8088);
            System.out.println("客户端启动成功");
        } catch (IOException e) {
            //throw new RuntimeException(e);
            e.printStackTrace();
        }
    }

    public void start() {
    }

    public static void main(String[] args) {
        new Client_Socket().start();
    }


}
